<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
<script type="text/javascript">

	var age = 18;
	
	while(age<=60){
		
		if (age==25) {
			break;//结束整个循环
//			age++;
//			continue;//跳出本次循环，直接进入下次循环判断
		}
		
		document.write(age+"岁领钱！<br />");
		age++;
	}
	
</script>
	</head>
	<body>
	</body>
</html>
